void gdCLipSetAdd(gdImagePtr im,gdCLipRectanglePtr rect){
    gdCLipRectanglePtr more;
    if (im->clip == 0){
        /* ... */
    }
    if (im->clip->count == im->clip->max){
        more = gdRealloc(im->clip->list,(im->clip->max + 8)*sizeof(gdCLipRectangle));
        if (more == 0) return;
        im->clip->max+=8;
    }
    im->clip->list[im->clip->count]=*rect;
    im->clip->count++;
}